package org.dromara.crawler.mongo.mongodomain;

import com.mongoplus.annotation.ID;
import com.mongoplus.annotation.collection.CollectionName;
import com.mongoplus.enums.IdTypeEnum;
import lombok.Data;
import org.bson.Document;

import java.util.Date;

@Data
@CollectionName(value = "knowledge_target",database = "NEWS")
public class KnowledgeTarget {

    @ID(type = IdTypeEnum.OBJECT_ID)
    private String id;

    private String name;

    private String type;

    private Document data;

    private  String sourceTitle;

    private String sourceUrl;

    private String eventFirstLevel;

    private String eventSecondLevel;

//    private String eventName;

//    private String location;

//    private Date time;

    private String images;

    private String targetId;







}
